﻿<Window xmlns:my="clr-namespace:MapAPIControl;assembly=MapAPIControl"  x:Class="PersonalClient.Window2"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Window2" 
                AllowsTransparency="True"
        Background="{x:Null}" WindowStyle="None">
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="ResourceDict.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>
    <Grid>
        <Border   
                Width="500"
                Height="180" 
            Style="{StaticResource FormWraper}"
                 Background="Black"
                >
            <my:Map Name="map" Background="Red" OpacityMask="Blue" />
            <!--<Grid Grid.Row="1" Margin="5">
                <Grid.RowDefinitions>
                    <RowDefinition>
                    </RowDefinition>
                    <RowDefinition>
                    </RowDefinition>
                </Grid.RowDefinitions>
                <Canvas>
                    <Button
                    Name="btnClose"
                    Canvas.Top="5"
                    Canvas.Right="5"
                     Style="{StaticResource CloseBtn}"
                    Click="btnClose_Click"
                      />
                </Canvas>
                <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
                    <TextBlock
                    HorizontalAlignment="Center"
                    VerticalAlignment="Center"
                    FontSize="20"
                    Foreground="#000000" Margin="5" FontStretch="Normal" FontWeight="Normal">帐号:
                    </TextBlock>
                    <TextBox
                    Width="300"
                    Height="30"
                    HorizontalContentAlignment="Center"
                    VerticalContentAlignment="Center"
                    BorderThickness="1"
                    BorderBrush="#999999" FontSize="18">dfdf
                    </TextBox>
                    <Button 
                    Name="btnLogin" 
                    Style="{StaticResource LoginBtn}"
                    Width="70" Height="30"  FontSize="20" Foreground="#ffffff"
                 Margin="5" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" FontWeight="Normal" FontStyle="Normal" Click="btnLogin_Click_1">登陆
                    </Button>
                </StackPanel>
            </Grid>-->
        </Border>
    </Grid>
</Window>
